build: use if_changed on built_in.o
authorAnthony PERARD <anthony.perard@citrix.com>
Tue, 7 Sep 2021 07:14:32 +0000 (09:14 +0200)
committerJan Beulich <jbeulich@suse.com>
Tue, 7 Sep 2021 07:14:32 +0000 (09:14 +0200)
commita4ebe125ee701a35b8c24b36503390970962c9ec
treee74770a671b92d973af36b40e452fe861dad9b94
parent2ff44490fcbde6f43891a4835286dae6cd0c265e
build: use if_changed on built_in.o

In the case where $(obj-y) is empty, we also replace $(c_flags) by
$(XEN_CFLAGS) to avoid generating an .%.d dependency file. This avoid
make trying to include %.h file in the ld command if $(obj-y) isn't
empty anymore on a second run.

Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
xen/Rules.mk